package com.object.dao.didi;

import com.object.module.didi.entity.DdUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Primary;

/**
 * 用户 
 *
 * @author 小🌤
 * @email 1578442339@qq.com
 * @date 2021-10-30 15:57:53
 */
@Mapper
public interface DdUserDao extends BaseMapper<DdUserEntity> {

    @Update("update dd_user set ur_password=#{password} where ur_id=#{urId}")
    boolean updatePassword(@Param("password") String password, @Param("urId") Integer urId);
}
